package org.pentaho.di.core.updateVo;

import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
public class MessageSourceVO {

    private Long id;
    /*数据源类型*/

    private Integer type;

    /* 配置Json字符串 */

    private String config;

    /*数据源状态*/

    private Integer status;


    private String name;


    private String descs;

    public static class Status{
        /*启用*/
        public static final int ENABLE=0;
        /*未启用*/
        public static final int DISABLE=1;
    }

    public static class Type{
        /*短信*/
        public static final int SMS=1;
        /*邮件*/
        public static final int EMAIL=2;
        /*微信*/
        public static final int WECHAT=3;
    }
}
